/*
 * Copyright (c) 2010-2011 NOO. All Rights Reserved.
 * [Id:ModuleCmp.java  2011-11-05 下午3:35 poplar.yfyang ]
 */
package org.mumu.pawn.cmps;

import org.mumu.pawn.domain.Module;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 模块管理.
 * </p>
 *
 * @author poplar.yfyang
 * @version 1.0 2011-11-05 下午3:35
 * @since JDK 1.5
 */
public interface ModuleCmp extends Serializable{
    List<Module> getModuleList();
    
    void saveOrUpdateModule(Module module);
    
    void removeModule(long id);

    Module findModule(long id);
}
